package com.csw.springcloudApp.springcloudAppDetail.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Data
public class Order_master implements Serializable {
	@Id
	private String orderId; // `order_id` varchar(99) NOT NULL,
	private String buyerName; // `buyer_name` varchar(99) DEFAULT NULL COMMENT '买家姓名',
	private String buyerIphone; // `buyer_iphone` varchar(99) DEFAULT NULL COMMENT '买家电话',
	private String buyerAddress; // `buyer_address` varchar(128) DEFAULT NULL COMMENT '买家地址',
	private String buyerOpen; // `buyer_openid` varchar(99) DEFAULT NULL COMMENT '买家微信',
	private Double orderAmount; // `order_amount` double(99,2) DEFAULT NULL COMMENT '订单总金额',
	private String orderStatus; // `order_status` varchar(99) DEFAULT '0' COMMENT '订单状态，0代表默认新订单',
	private String payStayus; // `pay_stayus` varchar(99) DEFAULT '0' COMMENT '支付状态 0代表默认值未支付',
	private Date createTime; // `create_time` date DEFAULT NULL COMMENT '创建时间',
	private Date updateTime; // `update_time` date DEFAULT NULL COMMENT '修改时间',
}
